import client from "./internal/httpClient";

export function careateDeviceType(data: any) {
    return client.post("/backend/v1/devicetype/create", data);
}

export function getDeviceList(data: any) {
    return client.get("/backend/v1/devicetype/getList", data);
}

export function getDeviceTypeById(data: any) {
    return client.get("/backend/v1/devicetype/getDeviceTypeById/" + data, {});
}
//updateDeviceTypeById
export function updateDeviceTypeById(data: any) {
    return client.post("/backend/v1/devicetype/updateDeviceTypeById", data);
}

//delInfoById
export function delInfoById(data: any) {
    return client.get("/backend/v1/devicetype/delInfoById/" + data, {});
}


